﻿<Window x:Class="CECB.Project_Window"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                 Title="CECB - Member" Height="350" Width="480" WindowStartupLocation="CenterScreen" WindowState="Normal" ResizeMode="NoResize" Icon="/Images/cecb1.ico" xmlns:my="http://schemas.microsoft.com/winfx/2006/xaml/presentation/ribbon">
    <Window.Background>
        <LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5">
            <GradientStop Color="#FF144BC7" Offset="0" />
            <GradientStop Color="#FFB2FCFC" Offset="1" />
        </LinearGradientBrush>
    </Window.Background>
 
    <Grid>
        <StackPanel VerticalAlignment="Top" HorizontalAlignment="Center" Margin="36,0,54,0" Width="400" Height="300">
            <WrapPanel VerticalAlignment="Top" Height="50">
                <Label Content="Create a New Project" Height="auto" HorizontalAlignment="Center" Margin="10,10,0,0"  VerticalAlignment="Center" Width="auto" FontSize="20" FontStretch="Normal" FontStyle="Normal" FontWeight="Black" Foreground="#FFEFEFEF"></Label>

            </WrapPanel>
            <WrapPanel VerticalAlignment="Top">
                <TextBox Height="23" HorizontalAlignment="Left" Margin="250,7,0,0" Name="textBox_ProjectName" VerticalAlignment="Top" Width="120"  />
                <Label Content="Project Name" Height="28" Name="label2" HorizontalAlignment="Left" Margin="25,-22,0,0" VerticalAlignment="Top"  FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" BorderThickness="0" BorderBrush="White" />
            </WrapPanel>
            <WrapPanel VerticalAlignment="Top">
                <DatePicker Height="23" HorizontalAlignment="Left" Margin="250,7,0,0" Name="picker_StartDate" VerticalAlignment="Top" Width="120"  />
                <Label Content="Start Date" Height="28" Name="label3" HorizontalAlignment="Left" Margin="25,-22,0,0" VerticalAlignment="Top"  FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" BorderThickness="0" BorderBrush="White" />
            </WrapPanel>
            <WrapPanel VerticalAlignment="Top">
                <DatePicker Height="23" HorizontalAlignment="Left" Margin="250,7,0,0" Name="picker_EndDate" VerticalAlignment="Top" Width="120"  />
                <Label Content="End Date" Height="28" Name="label4" HorizontalAlignment="Left" Margin="25,-22,0,0" VerticalAlignment="Top"  FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" BorderThickness="0" BorderBrush="White" />
            </WrapPanel>
            <WrapPanel VerticalAlignment="Top">
                <ComboBox Height="25" MinHeight="25" HorizontalAlignment="Left" Margin="250,7,0,0" Name="textBox_Category" VerticalAlignment="Top" Width="120">
                    <ComboBoxItem Content="Category1" />
                    <ComboBoxItem Content="Category2" />
                    <ComboBoxItem Content="Category3" />
                </ComboBox>
                <Label Content="Category" Height="28" Name="label5" HorizontalAlignment="Left" Margin="25,-22,0,0" VerticalAlignment="Top"  FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" BorderThickness="0" BorderBrush="White" />
            </WrapPanel>
            <WrapPanel VerticalAlignment="Top">
                <ComboBox Height="23" HorizontalAlignment="Left" Margin="250,7,0,0" Name="combobox_ProjectTeam" VerticalAlignment="Top" Width="120"  DisplayMemberPath="Team_Name" SelectedValuePath="Team_Reference" />
                <Label Content="Project Team" Height="28" Name="label6" HorizontalAlignment="Left" Margin="25,-22,0,0" VerticalAlignment="Top"  FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" BorderThickness="0" BorderBrush="White" />
            </WrapPanel>
           
            <WrapPanel VerticalAlignment="Top" Height="auto" Orientation="Horizontal">
                <StackPanel Orientation="Horizontal" Margin="190,0,0,0">
                    <Button Background="{x:Null}" BorderBrush="{x:Null}" Click="SaveButton_Click" Height="44" Margin="2,0" Name="SaveButton" Width="98">
                        <Grid>
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="*" />
                            </Grid.ColumnDefinitions>
                            <Image Grid.Column="0" Height="32" Margin="2" Source="images\save.png" Width="32" />
                            <StackPanel Grid.Column="1" HorizontalAlignment="Stretch" Margin="2" VerticalAlignment="Center">
                                <TextBlock Margin="0" Padding="0" Text="Save" TextWrapping="NoWrap" />
                            </StackPanel>
                        </Grid>
                    </Button>
                    <Button Background="{x:Null}" BorderBrush="{x:Null}" Click="CloseButton_Click" Height="44" Margin="2,0" Name="CloseButton" Width="98">
                        <Grid>
                            <Grid.RowDefinitions>
                                <RowDefinition Height="13*" />
                                <RowDefinition Height="23*" />
                            </Grid.RowDefinitions>
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="*" />
                            </Grid.ColumnDefinitions>
                            <Image Height="32" Margin="2,2,2,3" Source="images\close.png" Width="32" Grid.RowSpan="2" />
                            <StackPanel Grid.Column="1" HorizontalAlignment="Stretch" Margin="2,10,2,11" VerticalAlignment="Center" Grid.RowSpan="2">
                                <TextBlock Margin="0" Padding="0" Text="Close" TextWrapping="NoWrap" />
                            </StackPanel>
                        </Grid>
                    </Button>
                </StackPanel>
            </WrapPanel>
        </StackPanel>
    </Grid>
</Window>
